Remove variable from current_time function and fix the times for each message. The time value for each message would update to the current time when a new message was created.