multiple instance demo tweaked