support to print ranges