change the sructure of the code.