updated ui
Added code coments