added an verbosity flag