changed stats to an int array