catered for the multi layer text case