Added capabilty of using Timer2.