Fixed bug, added is_private function