nio innitialization