Why return `w` here? It doesn't seem to change.