improve how example reads
Merge pull request #1899 from cordoval/patch-3

improve how example reads