The dopamine system helps the brain anticipate the occurrence and duration of unpleasant events, but without taking erro