add ui for formation