checking retention api interim code