codeiq sample code