example for moshe - commit