First try at motor control