add code to address R2's concerns about W