added stat limits, random generation