helper get target zero th element target object target target target length target 