Changes to errors, aligned my section with Davids' method