algorithm and UI changes & optimization