yet another sample ported to a new toolchain