implemented timer UI