Why don't you use just db(), why do we need self.db ?