homework 4, with bootstrap