player position implemented