Flying Pig Software was founded in 1985 by David Hearne.  Its headquarter was in Oakland, California. The company consisted of two programmers and a handful of contract programmers. The first major piece of software created by Flying Pig Software was a B-Tree written by David Hearne. The B-Tree was licensed to Zedcor in 1987 and in 1988 was included with the new release of their ZBasic compiler. Zedcor renamed the b-tree a z-tree. The b-tree object was a self-balancing tree data structure that kept data sorted and allowed searches, sequential access, insertions, and deletions in logarithmic time. A framed copy of the first check issued by Zedcor to David Hearne against royalties for the license to the utility proudly hangs in Hearne‚Äôs office.