add exception for type