added very basic get_object() method