Hi I have two problems I was hoping you could help with: 1) In maths "1a" should be just "a", how do I hide the 1? If I used string.Replace it will hide all 1's. (e.g 3a -a = 2a ...that's fine but shouldn't be written as 3a-1a) 2)How can I generate random numbers and letters from WITHIN texdraw as a function? Doing it externally is easy but doing it from within TexDraw would be so much more efficient. Any help pointing me in the right direction would be greatly appreciated.