the algorithm as stated is a probabilistic algorithm as it makes random choices afterward he served as recorder of troy for several years