Adding in part 3. high frequency example with on connect and disconnect