added verbose flag