convert to specific data types rather than generic