Finished cleaning code. Ready to submit.