Fixed X11 problem, now math problem