change to better match Google's R Style Guide
add option to control verbosity