Implantation of the blastocyst is completed by the end of the second week of development. The trophoblast differentiates and the syncytiotrophoblast produces human chorionic gonadotropin (hCG) which enters maternal blood. HCG can be detected via pregnancy tests by the end of the second week. The amniotic cavity and embryonic disc form from the embryoblast, and the hypoblast forms the umbilical vesicle and extraembryonic mesoderm. Changes in the trophoblast and endometrium result in the formation of the extraembryonic coelom and chorionic sac, within which the embryo develops.