adding final headers