commit resources and credits