Add data types with conditions