fix syntax for 2nd code block; edits