Making intervals dynamically changeable.