make firstActiveWord() a public function