moving boilerplate to index