index separated to dynamic loading