fixed code-documentation+examples inconsitencies