a part of commit