added changes to rangepart