Add listener implements code