rm a bunch of error handling boilerplate