Works from my senior thesis project!