hash headers and functionality modified