added the timestamp() method