change UI and add some slots for passing parameters