added the design for a timer