add build index phase
refactor reporter invocation