update to version 0.19, replace given/when structrue with if/elsif