refactor skillRange