moved global var text2Scale to inside thetext2 object