Please clean up and format the code.