Example with fragments