switched back index to build