make debugging work again, update examples