This entire if block can go in the if statement above.