commit the resources