changed time helper for.