wrote a Reducer file