added -a flag