added intervals to examples