working on timer class