working on fixing code for dc motor