commit some resources.