add and accept data