commiting the last sjot