time display is now working well