Added functionality of turn order.