position in recursive is updated