improved: table creation