Adding basic error reporting
Fixing missed capital letter
Implementing error message calls