Initial reducer code that accepts custom input from our mapper