adding in accessors for object