commit some class