comment refactored consistency check method