before bootstrap