An improved version of the liquid drop model is presented. The addition of two terms, linear and quadratic in the total number of valence nucleons (particles or holes), improves the description of atomic masses, which can be fitted with an r.m.s. error of 1.2 MeV. Predictions are analysed an compared with those of established models. (c) 2007 Elsevier B.V. All rights reserved