syntax fixes in example code; examples now use block comments for easier use