range as intervals