beginning of bootstrap