don't check class too, constant is enough