added range feature