allow specification of payload