Implemented the timestamp method