If the surface coverage of adsorbates is increased, a 2D liquid is formed, followed by a 2D solid. It was shown that the transition from a 2D gas to a 2D solid state can be controlled by a scanning tunneling microscope which can affect the local density of molecules via an electric field.