timer class updated