else if instead of pure else