working on editing the fragments