In this paper we present a reformulation of the original mean field problem using random variables point of view, which allows us to consider situations where the interaction a player and the mean field also takes into account the collective behavior of the players but not only its state. We prove an existence result for this type of mean field games in the case of quadratic Hamiltonians.