commit old class