Improved gibbs