added functionality to the 2 other fragments