Using two outputs

it seems the timer functions are too slow