modify some examples to make them work, delete or add comments to other examples that no longer work