model and check class constants