better error passing
linting