add demo for fragment