ntoe to self - validate the input
first cut at ioncoming data validation