Do assignment in confusing reduce test