The code has a lot of errors. Starting to fix all of them.