added ability to generate mandate input