Added table2layout