beggining of ui