changed intervals from months to days