added support for elsif