Added event on receiving data, and data is trimmed(not converted yet.)