implement verbose switch