created category master detail flow