check the code