UI code finish