Work on integrity check