Now multiple sequences also work for training the parameters