completed basic model setup