making the reducer fuction in 08 clear