added ability to add/create objects through references