made errors more explicit