added willset and didset working examples

added willset and didset working examples
Let's not add this inner for loop.