added InitialPosition function