creates UI elements