using else if now in conditional