view for validation