add fragments sample.