optimization of table
merge + titles