refactored increaseSkill and decreaseSkill