add data retrieving from network (onData to Connection)