final reducer