It is, the variable `typ` is never used. Should I remove it, I left it there, since it has nothing to do with the issue. It's more a code health task. What do you think?