Added event driven demo