these should be `elif`, not `if`.