react and respond