changed singleton sample to be more illustrative