Fixed a recursion bug and added skills to a  table