first code version for category proper combination