convert this plan into a model