added collection loaded, made modelClass accessible