get headers and other