Added the code missing for set!