index creation is now working