starting populating detector and samples sections