cleaned up the examples and added some usage comments
minor edits
minor edit