Spectroscopic distances of nearby ultracool dwarfs