Correcting for type error in reactTo.