Added methods for text display and delay