define model structure