added stub for set and did a few tests

tests are failing atm,
renamed and added comment