Removed commit() because it will not work in this setup