changes to stats and data gen