Fix code samples

author: diane fleming
Merge pull request #25 from dian4554/fix-code-samples

Fix code samples