added levels and type models