the cavalli , on the other hand , already well versed with living in harmony with their environment , soon learned the secrets of the desert and occasionally ventured as far as the white palace , either to scout or to pull childish pranks meant to keep the guards on their toes .