renamed "else if" to "elseif"