updating some code to start figuring out which data types work with the library