adding this routine for initial io stuff