moved interval to all routes