change function calls to self.url instead of url=self.url