Implemented bootstrapping