create table with data attribute