finalize UI and test