updated examples so they work again