1st version of Range class