swithc from elif to elsif