add print method for bootstrap function