create the code