corrected bootstrap procedure