generating Pledge model and relationships