getting header/payload scheme ready