factorize module by_time