adding headers, address and query