change headers and assigns to vars