moved verify logging out of private function, seemed to cause errors