completed hw4 part 1 format for bootstrap