updated algorithm for PE73