added flash with ui