set up program model