added sudo for w