I think you have to use `i.__name__` here...