wire up the right reducer