committing reest function