added threadability. yay