encapsulated the text overlay