changed method name to timestamp instead of time