Added sample contact listener code