add error handler + current time display