Lab 3: fragments assignment is implemented