interval as a param