add unsupported type exception handling