checkpoint - compiles and runs but tests fails