add preliminary version of data validator