take out error reporting