adding event handler for data object g42