add minutely and hourly mode