starts fragment refactoring