Prefer a single if statement