to add the fragments