Removed some comments added some functions, now is working the movement smoother