Dealing with different data types