rename wantValue -> valueAsResult, unindent ws