actions.py method movement p1