added some description to the code about the date and time