transform some class variables into instance variables
add example when fundingConstraint field is specified