Changed code to use contact event listener
minor improvement