I now how to handle dynamic type checking using a param type but I\'m stuck with this one. It may be not possible, but I can\'t think straight anymore so any help is welcome