build model interfaces