2 Development of the Algorithm