added more tables and changed existing one related to matches