stuff and shit with table creation