Adding and removing of ranges