initialize the code