try with self.type