started ui logic