Added the first UI code.