Flatten out UI