self.db -> db