add init code and UI