started implementing bootstrap replicate