Changed python object, now can pass in flexible datatypes