add motor sketch