Added some error reporting usage