added getters and setters to rObject