movement logic finished and tested