implement addition and subtraction for clocks