intialize code