turned index into partials for legibility