Commit some changes in the function