All the wooden houses were burned down before the fire engines arrived.<br/><br/>All the wooden houses had been burned down before the fire engines arrived.<br/><br/>Are both the sentences correct? If so, what is the difference?