setting the timestamp