add `timestamp` method