Simple prediction manager code