Gas and galaxies at z ~ 3.