added validation to skills