check class