added modified payload generation