added fields to view for agreements