helpers to generate payloads