adding checkpoint for slave recovery