`frame` is not known. This should be `self.data`