functions commit (exeption handling remain)