index and bootstrap