fix examples so they actually work in realworld