Added stat generation