I don't exactly like how you pass the text here, but the only alternative I can think of is a boolean instead. I'm not sure this is cleaner, if you find another better solution, feel free to do it