client side validation 6