Integrated algorithm to UI