Crappy solution to visual transformation