all set, now going to work with time intervals