using correct data types