Wrote the whole plotting thing.