Change getCheckpoint per suggestions from @nolanlawson