updated sample to fix missing entries