updates on example. fixed changes introduced by interface changes