added dtw model