time stamp added to chat function
time stamp added to chat function