change Player move function