Added (range) helper function
Added (range) helper function