added runBody and addHeader