solves text twist