protected function loadTemplates() {		
		$manifest = SS_TemplateLoader::instance()->getManifest();
		$templates = $manifest->getTemplates();
		$total = sizeof($templates);
		$count = 0;
		$this->output->clearProgress();
		
		foreach($templates as $name => $data) {
			foreach($manifest->getCandidateTemplate($name, $this->theme) as $template) {
				$this->samples[] = $template;
			}
			$count++;			
			$this->output->updateProgressPercent($count, $total);
		}
		$this->output->writeln();

	}