pedantic errors for samples