Handle different data types