CHANGED:applied the SET validate function;