made changes to make interval functions operational with helper function changes