added code for controlling a servo motor