added range option