making changes to motor code :D