Use pointer for listener