Working version for 3x3 examples