added time display to main