added global selectors and fixed InitialPosition function