changed else to elsif.