Added event-driven pic