fixed all of the errors and the commecnts