commit() now returns a status