Change to wrte.table