change prototype for bootstrap function