Consider the molecule NH3 which contains 3 bonds and one lone pair on the central atom N: The shape of this molecule is dependent on the
both the number of bonding and non-bonding pairs on the central atom
the number of non-bonding pair (or lone pairs) of the central atom
number of bonding pairs or atoms around the central atom