Ported code to change_reaction