Light is scattered out of a focusing beam when an inhomogeneous medium is placed between the lens and the focal plane. Now, scientists experimentally demonstrate that scattering can be exploited to improve, rather than deteriorate, the focusing resolution of a lens by using wavefront shaping to compensate for scattering.