nicer resource index layout