Adding an example for custom delegates