while i was allowed almost complete freedom within the confines of the city , and sometimes was permitted to visit even the military outposts and disintegrator ray batteries in the surrounding mountains , i was never without a guard of at least five men under the command of an officer .