change else if to elif