public defines for listeners