else if now works