State Machine to Deal with People in the IDM