moved bootstrap function call inside `main`