add power assertion note and fix missing end in example