Replace table with list