implement -verbose flag