Removing the old reaction code