added assert functions
improved time display