improved reaction determination