added new validation method to validator