Use "underripe" in a sentence

1. The fruits are sometimes eaten ripe as a fruit, but in general Breadfruits are used underripe (wholly or partly green) as a vegetable

2. Currants for cooking and making jelly should be harvested slightly underripe (they contain more pectin at that stage); unripe Currants retain some acidity