add Set() method (and test)