add preliminary graphic implementation of timer