I made a few small changes to fix errors. Please review these changes and make other changes as needed.