use transition if dataset length is the same as before