complete check code