adding toIO method

#21