nlogn working again