add functionality to UI (partialy implemented)

add functionality to UI (partialy implemented)