removing old knnJoin