checkpointing. attempting to fix scatter plot, still broken though.