change function name commit -> validate