more functions again
added errors
fixed error capitalizations