initial commit
fix for getmodels function