add require into index