optimized time() method
v0.1.26