checking class