added ability to load x y for player