set data function on more evenetslisteners