Replace table by list