Made ObjectRange class