Using listener as communication way.