progress on k-modal work