code formatting
code formatting
improved error reporting errors