added ALL_COMBINATIONS option to combinations