added support for unknown type