added k-l distance, ready to test