added timestamp to messages