throw exceptions in "add_instance"