some codes for codeiq