self.py is the ultimate solution to k-l distance