change addListener function input