But the mesoderm forms the adrenal cortex, the outer portion of those adrenal glands. Now it's the ectoderm that forms the outer portion of the skin but the inner portion of the skin is formed from the macederm. So the dermis, the inner portion is formed from the mesoderm. Now that actually makes sense because the dermis of the skin consists predominantly of blood vessels. And because blood vessels are formed from the mesoderm, it makes sense that the dermis is also formed from the mesoderm. And finally the excretory system and that includes the kidneys and the ureter as well as the reproductive system.