x position and y position works