check code