adding data validation and translation to util