resources as index