Made changes to the man-adding algorithm.