checking integrity of instances