Changed self.name to self.title