Stack model working. Checkpoints are mostly broken