added topic listener