set greedy to boolean
1.0.12