added custom ranges to interval change