first attempt at passing in headers

WIP not ready

Indeed, not sure how the heck the tests were passing....