add some bootstrap function