add function descriptions
change the way the timestamp is made