refactored table extraction, added function to get mpgs out of per-game table