diff --git a/src/docs/part2/adding_detectors.md b/src/docs/part2/adding_detectors.md
index f398ce18f3870e405c442f4227cc2e347cecd33a..c1e2d7ce078faf671d7532ccbcbc6ccba641a70f 100644
--- a/src/docs/part2/adding_detectors.md
+++ b/src/docs/part2/adding_detectors.md
@@ -239,11 +239,10 @@ parallel the geometry (and probably should).
 
 Uncomment the include line in `gem_tracker.xml`
 
-
 ```xml
   <include ref="compact/gem_tracker_endcap.xml"/>
 ```
-And have a look at the detector part of the compact file.
+And have a look at the detector part of `compact/gem_tracker_endcap.xml`.
 
 ```xml
 <detector
@@ -302,7 +301,7 @@ And have a look at the detector part of the compact file.
 
 Here you see a different strategy: build a module, then build layers constructed from the module. 
 
-Here is the detector constructor function
+The corresponding detector constructor function  is in `src/TrapEndcapTracker_geo.cpp`
 ```cpp
 static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector sens) {
   typedef vector<PlacedVolume> Placements;