WHAT: Checkpoint. Working daydream and refactored most of the code