Removed all the errors from the code except for one.