TimeWrapper class added