Checking part

Finished the checking part.