isinstance -> issubclass