include range id
might as well include range id for invalid ranges too