add text component and change example