first attempt at passing in headers

WIP not ready

ditto