changes to using the real fragment framework