#6 variable io's & some bugs fixed