Worked on some text manipulation