You could combine these two statements to reduce the number of look-ups.