changed index to wireframe