initial version of validation program