Custom events example added