basic error reporting
use error reporting