main driver flushed out a little bit, bugfix in nthEntry