one of the interesting side effects of having emotions , he had discovered , was that they caused you to think ahead , plan ahead , so that you would n't trigger an all-out emotional attack if things went wrong .