created matches table and working get_matches method"