copycat pengwynn bootstrap with a few changes