Commiting for error checking