adds immutablility demo code