adding ithreads. Not sure why it doesn't quite work yet though