-w and -f work together