introduced Timer class