figured out the str() problem