Refactored asynicIO thanks claudia!