error updates and further edits