bootstrap function to Bootstrap class