adition red text logic added