set default value of skills with a function