added -v flag