added tim2 for usec