added -v for verbose output