Recall that in our definition of compareAndSet() we noted that strictly speaking, compareAndSet() is not a RMW method for $f_{e, u}$, because a RMW method would return the register's prior value instead of a Boolean value. Use an object that supports compareAndSet() and get() to provide a new object with a linearizable NewCompareAndSet() method that returns the register's current value instead of a Boolean.