simpler and avoids using Date to show current time in ui