get_collection, worked out AttributeErrors