comprehensive table creation functionality added