add code to see how motor works