For the sake of readability: Should test for the positive case and reverse the blocks below.