new flow of spec ui