bootstrap and first stage