split done to be able to customize ui.