Task B: validation