add set now time function