debugging output for ranges