code cleanup
evaluate submodels