We consider the water waves system for the evolution of a perfect fluid with a free surface under the influence of gravity. In two space dimensions we prove global existence and modified scattering of solutions for initial data which are suitably close to a flat equilibrium. Joint work with A. Ionescu.