expand bb10 bootstrap code