finished implementing fragments