added -A as an option