make example compilable again