started adding client side validations