got most of boostrapping implemented