moved around the code a bit... model setup is now done in initModels