add arguments for start/end of range and prefixlen