Adding def example