Added generation of people controlled by function.