started active pattern demo