added data listener.