working callbacks for nWayGibbs, testGibbs