add field validation