print of range
added support to run on a specific subset