add complex reducer in