more work on model relations and fields