added stat struct!