Breaking down the ui building part.