Remy was feeling depressed about the bad grade he got on his first psychology exam. Since he had another test to take that day and did not want his unhappiness to affect his later test, Remy started thinking about all the good grades he had received this semester to brighten his mood. This illustrates: