used div argument in self.ratio