Known working state. Optimized the popOver curve code, still need to reorganize data.