working strictly on local validation