Stillman, a heartbroken physics student, builds a time machine when his girlfriend breaks up with him. Going back in time, he attempts to save their relationship by fixing every mistake he made—while dragging his best friend along in the process.
Stillman decides to break the time machine and break up with Debbie, leaving her free; (repeat) Stillman goes back in time and sees Debbie reading his physics notebook.