added fields validation attribute