add listener on subscribe