init the code