time is now measured by using system time function