added ngram w/ barlines code, forgot to before