updated validation properties to be protected instead of private