revised gibbs