try to implement movement handling