updated sendHeaders()