add text function added