add UI and Code