importing and tables for flags