Fragment example code