Corrected validator method use