Adding some basic functions to create the UI needs.