make example spec-conform

also meets current implementation