interval example