got the end to end working along with ui