Adds FragmentSample with functionality