Add a comma after *document* and remove *then*