Add range procedure