Added a timer in the movement to check the calculating time