added -q flag