started doing validation