controlling a servo