asynchronous UI!
removed dead code