MainHandler.php validator to method#12