Building up validator