added range setup functionality and broke tests