added -all option