progress on a mincde.py model file