added the beginning of the UI