add support for list types as parameters