updated string example with comments