fixing now() method