[Ian] refactored to use reductions and maps for skill sets