fixes to bogus example copied over from balanced

Examples weren't proper syntax