added a verbosity function