more flexible bootstrap