adding private to properties in ValidationClass