adding checking class