Changes made to decision making algorithm.