wrote a couple of lines to get me head clear, need to fix the initialization of the io thread (class)... it's throwing type errors