Adding a range generator