error handling 2/3
linting
readme & better error handling