Adding timer and log message