Added a bunch of logic for text