make time functions static