add restart parmaeter to bootstrap function