commit 1 for class