implemented verbosity flag