modified COmmit