added some tui parts