edited index to work with skills table