add support for multiple typenames