added new public function to return all map objects