added elsif keyword