Wrote first half of graphical fapping