added prerequisites

.
Fixed validator