Beginning of the UI