working on the communication of add fragment