Added reducer and transpose