Formation in nebulae