algorithm lee gui