data types validation