begin modularizing with fragments