got else if working