style nitpick: can you use `err` instead of `e` here?