thinking out how motor direction will be controlled