dtw - almost there