changed approach to bootstrap