added example of passing constraints manually