write index
checker boilerplate