reorganize UI for analysis