Added reducer class