Rename sample to sample(if sentence)