check class directly