randomized the shallow ais