added a relation table for get_fields