helps to commit