io helper + main