updates classy example w/ private function + extension by function, uses new lib