removed parens from setIntervals