payload generator skeleton