Works, but text becomes garbled after a while