replace functional clefs with random fields