stuff for analyzing mtgleaks